package com.gdupt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gdupt.entity.CustomerInfo;
import com.gdupt.entity.DrawPlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IDrawPlanService extends IService<DrawPlan> {
    boolean editPlan(DrawPlan drawPlan);
    boolean editPlanResult(DrawPlan drawPlan);
    DrawPlan findPlanById(Integer id);
    boolean deletePlan(Integer id);
    boolean deletePlanBySid(Integer id);
    List<DrawPlan> findAllPlanById(Page page, @Param("id") Integer id);
    boolean savePlan(DrawPlan drawPlan);
    List<DrawPlan> searchPlan(String search);
    boolean failPLan(Integer id);
    boolean sucessPLan(Integer id);
}

